﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

public partial class Settings : System.Web.UI.UserControl
{
    protected void Page_Load(object sender, EventArgs e)
    {
    //    if (Session["UserName"] == null)
    //    {
    //        Response.Redirect("Login.aspx");
    //    }
    }
    protected void LinkButton1_Click(object sender, EventArgs e)
    {
        Session["UserName"] = null;
        Session.Abandon();
        Session.Clear();
        Response.Redirect("Login.aspx");
    }

    protected void LinkButton2_Click(object sender, EventArgs e)
    {
        Response.Redirect("Login.aspx");        
    }
    
}